package cz.proks.schoolpupilbook.gae.restlet.resource;

import org.restlet.resource.Get;
import org.restlet.resource.Post;
import org.restlet.resource.Put;

import cz.proks.schoolpupilbook.shared.domain.User;
import cz.proks.schoolpupilbook.shared.restlet.LoginDTO;

public interface UserResource {
	
	@Post
	User login(LoginDTO login);
	
	@Get
	public User retrieve();
	
	@Put
	public void store(User obj);
}
